<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
	<title></title>
	 <link rel="stylesheet" type="text/css" href="/AppStore/Public/bootstrap/css/bootstrap.min.css"> 
    <script src="/AppStore/Public/bootstrap/js/jquery.min.js" ></script>
    <script src="/AppStore/Public/bootstrap/js/bootstrap.min.js"></script>
	<style type="text/css">
	.item{
		font-family: 华文行楷;
	    font-size: 60px;
	    font-style: none;
	    background-position: center;
	    float: center;
	}
	.img {
		margin-left: 20px;
		width: 200px;
		height: 200px;
	}
	</style>
</head>
<body>
<h1 class="item">用户管理界面</h1>
<table border  width="80%" class="table table-striped table-bordered table-hover">
<tr>
	<th>头像</th>
	<th>用户名</th>
	<th>真实姓名</th>
	<th>邮箱</th>
	<th>电话</th>
	<th>状态</th>
	<th>审核信息</th>
	<th>明星作者</th>
	<th>首页推荐</th>
	<th>操作</th>
</tr>
<?php if(is_array($users)): $i = 0; $__LIST__ = $users;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
	<td><img src="/AppStore/Public/UpLoad/photo/<?php echo ($vo["photo"]); ?>" width="100%"  class="img"></td>
	<td><?php echo ($vo["username"]); ?></td>
	<td><?php echo ($vo["realname"]); ?></td>
	<td><?php echo ($vo["email"]); ?></td>
	<td><?php echo ($vo["tele"]); ?></td>
	<td>
		<?php if($vo["state"] == 0): ?>禁用
		<?php elseif($vo["state"] == 1): ?>普通
		<?php else: ?>禁言<?php endif; ?>
	</td>
	<!--  0禁用 1普通  2禁言-->
	<td><?php echo ($vo["verifyinfo"]); ?></td>
	<td>
	<?php if($vo["isstar"] == 0): ?>否
	<?php else: ?>是<?php endif; ?>
	</td>
	<td>
	<?php if($vo["isfirst"] == 0): ?>否
	<?php else: ?>是<?php endif; ?>
	</td>
	<td>
	<a href="">修改</a><br>
	<a href="">删除</a><br>
	<a href="">取消明星作者</a><br>
	<a href="">取消首页推荐</a><br>
	<a href="">禁用</a></td>
</tr><?php endforeach; endif; else: echo "" ;endif; ?>
</table>
</body>
</html>